package game;

import java.io.PrintWriter;

public class OutNode {
	public OutNode(String userName, PrintWriter out) {
		this.userName = userName;
		this.out = out;
		ready = false;
	}

	public String getUserName() {
		return userName;
	}

	OutNode next = null;
	String userName;
	PrintWriter out;
	
	/**
	 * ready to start the game or not
	 */
	boolean ready;

	public void setOut(PrintWriter out) {
		this.out = out;
	}

	// no offense.
	public PrintWriter getOut() {
		return out;
	}

	public void setNext(OutNode toBset) {
		next = toBset;
	}

	public OutNode getNext() {
		return next;
	}
}